package com.swxy.club.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author 易
 */

@Data
public class CheckinCode {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long activityId;
    private String code;
    private LocalTime  validStart;
    private LocalTime validEnd;
    private Long createId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
